<?xml version="1.0" encoding="UTF-8" ?>
<%@page import="dwr.Remote"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="dwr/engine.js"></script>
<script src="dwr/interface/Remote.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>连接测试</title>
</head>

<body>
	<div id="display"></div>
	<script type="text/javascript">
		dwr.engine.setErrorHandler(function(msg) {
		});
		setInterval(function() {
			Remote.getIps(function(msg) {
				document.getElementById("display").innerHTML = msg;
			});
		}, 1000);
	</script>
</body>
</html>